package com.cti.ftpservice.utils;

import org.hibernate.search.bridge.StringBridge;

/**
 * @author 鲁永刚 E-mail: luyg@ctibook.com
 * @version 创建时间：Sep 18, 2014 9:41:14 AM 类说明
 */
public class LowerCaseStringBridge implements StringBridge {

	@Override
	public String objectToString(Object object) {
		String source = (String) object;
		if (source != null) {
			return source.toLowerCase();
		}
		return "";
	}

}
